<?php
/**
 * This file is part of the Jindai.
 * @copyright Copyright (c) 2019 All Rights Reserved.
 * @author jindai <jindai0305@gmail.com>
 */

return [
    'default' => [
        'avatar' => 'https://cube.elemecdn.com/3/7c/3ea6beec64369c2642b92c6726f1epng.png',
        'password' => env('DEFAULT_PASSWORD', '123456')
    ],
    'token' => [
        'bearer' => 'Bearer ',
        'access' => [
            'name' => 'access_token',
            'expired' => 15
        ],
        'refresh' => [
            'name' => 'refresh_token',
            'expired' => 30
        ],
        'min_length' => 17,
    ],
    'setting' => [
        'id' => env('SETTING_ID', 1)
    ],
    'passport' => [
        'client_id' => env('PASSPORT_CLIENT_ID', 1),
        'client_secret' => env('PASSPORT_CLIENT_SECRET', ''),
    ],
    'doc' => [
        'url' => env('DOC_TEMPLATE_URL', 'https://doc.lcckup.com')
    ],
    'music' => [
        'host' => env('MUSIC_HOST', 'http://tyst.migu.cn'),
        'search-headers' => [
            'sign' => env('MUSIC_SIGN', 'c0a0458922bb5c94bb6e65de44e91085'),
//            'uiVersion' => 'A_music_3.4.0',
//            'ua' => 'Android_migu',
//            'deviceId' => 'EB83F6B522BF51FF48FD1E4E36DCE7A6',
//            'version' => '7.0.8',
//            'platform' => 'MIX 3',
//            'mgm-Network-type' => '04',
//            'mode' => 'android',
//            'uid' => '',
//            'osVersion' => 'android 10',
//            'appId' => 'yyapp2',
//            'mgm-Network-standard' => '01',
//            'android_id' => '4634cfcb0ca584bb',
//            'msisdn' => '',
//            'brand' => 'Xiaomi',
//            'Host' => 'jadeite.migu.cn',
//            'User-Agent' => 'okhttp/3.12.12',
            'timestamp' => env('MUSIC_TIMESTAMP', 1609137835200),
        ],
    ],
    'oauth' => [
        'github' => [
            'client_id' => env('GITHUB_CLIENT_ID', ''),
            'client_secret' => env('GITHUB_CLIENT_SECRET', ''),
        ]
    ]
];
